package com.youlai.system.model.query;


import com.youlai.common.base.BasePageQuery;
import com.youlai.system.entity.SysOrgEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

@Schema(description ="组织分页查询对象")
@Data
public class OrgPageQuery extends SysOrgEntity {

    @Schema(description="关键字(组织名称)")
    private String keywords;

    @Schema(description = "页码", required = true, example = "1")
    private Integer pageNum = 1;

    @Schema(description = "每页记录数", required = true, example = "10")
    private Integer pageSize = 10;

    @Schema(description="更新时间-结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String startUpdateTime;

    @Schema(description="更新时间-结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String endUpdateTime;
}
